package com.mq.broadcast;

import java.io.Serializable;

/**
 * 广播消息
 * @author ytj
 * @date 2024/1/17
 */
public class BroadcastMessage implements Serializable {
    public static final String QUEUE = "broadcast";

    public static final String EXCHANGE = "broadcast-exchange";

    private Integer id;

    public BroadcastMessage(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
